package com.sunnay.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sunnay.entity.AppShopLiveInfoEntity;
import com.sunnay.entity.UserBidEntity;
import com.sunnay.vo.auth.SystemUser;
import com.sunnay.vo.live.OfferVo;
import org.springframework.stereotype.Service;

import java.io.IOException;
import java.util.List;

@Service
public interface AppShopLiveInfoService extends IService<AppShopLiveInfoEntity> {
    /**
     * 直播店铺
     */
    List<AppShopLiveInfoEntity> liveShopList(SystemUser systemUser);
    /**
     * 直播小号
     */
    List<UserBidEntity> liveShopSmallList(SystemUser systemUser);
    /**
     * 小号出价
     */
    Object liveShopOffer(OfferVo offerVo, SystemUser systemUser) throws IOException;
    /**
     * 小号关注
     */
    void liveShopAttention(OfferVo offerVo, SystemUser systemUser);
    /**
     * 小号发言
     */
    void sendMsgInfo(OfferVo offerVo, SystemUser systemUser);
    /**
     * 分享直播间
     */
    void shareRoom(OfferVo offerVo, SystemUser systemUser);
}
